package com.TripMate.system.service;

import com.TripMate.system.model.dto.favorites.FavoritesQueryRequest;
import com.TripMate.system.model.entity.Favorites;
import com.TripMate.system.model.vo.FavoritesByPostVO;
import com.TripMate.system.model.vo.FavoritesByTripVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author dongmianyan
* @description 针对表【favorites(收藏表)】的数据库操作Service
* @createDate 2024-11-29 18:11:05
*/
public interface FavoritesService extends IService<Favorites> {


    Page<FavoritesByTripVO> getQueryByTrip(Page<FavoritesByTripVO> pageParam, FavoritesQueryRequest favoritesQueryRequest, Long userId);

    Page<FavoritesByPostVO> getQueryByPost(Page<FavoritesByPostVO> pageParam, FavoritesQueryRequest favoritesQueryRequest, Long userId);


    Page<FavoritesByTripVO> getQueryByTripAll(Page<FavoritesByTripVO> pageParam, FavoritesQueryRequest favoritesQueryRequest);

    Page<FavoritesByPostVO> getQueryByPostAll(Page<FavoritesByPostVO> pageParam, FavoritesQueryRequest favoritesQueryRequest);
}
